linux下文件的复制、移动与删除命令为:cp,mv,rm一、文件复制命令cp 命令格式: cp [-adfilprsu] 源文件(source) 目标文件(destination) cp [option] source1 source2 source3 ... directory 参数说明: -a...
分类:
其他好文 时间:
2014-07-09 00:00:34
阅读次数:
256
//得到目录下的所有文件夹public static void Get_All_Filepath_In_Directory(string dirpath, List listpaths) { List filePaths = listpaths; //存放文件的路径 try { if (Is_Dir...
分类:
其他好文 时间:
2014-07-08 23:24:07
阅读次数:
183
位于/Users/你电脑名/Library/Developer/Xcode/DerivedData
下的缓存文件占很大的缓存空间,如果长时间不删除xcode下的缓存文件,就会导致硬盘空间越来越小直到Directory
not empty。删除了缓存文件再运行就不会再报错。
删除DerivedData: 打开看了终端输入 sudo chmod -R 777 /Users/xxx/Li...
分类:
移动开发 时间:
2014-07-08 21:39:21
阅读次数:
240
//pbak是要检查是否为空的文件夹路径 if (Directory.GetDirectories(pbak).Length > 0 || Directory.GetFiles(pbak).Length > 0) { Response.Write(""); }
分类:
其他好文 时间:
2014-07-06 22:13:49
阅读次数:
629
getExternalFilesDirgetExternalFilesDir(Environment.DIRECTORY_PICTURES).getAbsolutePath()返回的是图片存放的标准目录,应用被卸载时这个目录也会被删除。参数还有:public static String DIRECT...
分类:
移动开发 时间:
2014-07-06 16:21:38
阅读次数:
261
不知道怎么回事,实验室的电脑在同学搞过之后,每次启动都报错rpcbind: cannot open '/run/rpcbind/rpcbind.xdr' file for reading, errno 2 (no such file or directory)rpcbind: cannot open...
分类:
其他好文 时间:
2014-07-06 14:45:46
阅读次数:
301
File->new->Project->android->Android Project from Existing code在Root Directory:中填写AndroidManifest.xml所在的文件夹路径需要注意的是:导入的工程不要跟Eclipse Android的工作目录下,不然会出...
分类:
移动开发 时间:
2014-07-06 12:56:23
阅读次数:
184
6.3内存索引库
6.3.1特点
在内存中开辟一块空间,专门为索引库存放。这样有以下几个特征:
1) 因为索引库在内存中,所以访问速度更快。
2) 在程序退出时,索引库中的文件也相应的消失了。
3) 如果索引库比较大,必须得保证足够多的内存空间。
6.3.2编码
在cn.hqu.directory 下新建:DirectoryT...
分类:
其他好文 时间:
2014-07-06 08:11:33
阅读次数:
188
执行启动nginx:/usr/local/nginx/sbin/nginx
错误:/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
查找:[roo...
分类:
其他好文 时间:
2014-07-06 00:11:52
阅读次数:
205
You can easily mount remote server file system or your own home directory using special sshfs and fuse tools.FUSE - Filesystem in UserspaceFUSE is a L...
分类:
系统相关 时间:
2014-07-05 16:58:48
阅读次数:
294